/*    
 * Copyright (c) 2013 ISoftStone, Inc.
 * All right reserved.
 *
 * 文件名：      SysMailTemplateServiceImpl.java
 * 作者:     Jacky Wang
 * 创建日期： 2013-8-2 下午04:03:58
 * 版本：           
 *
 */
package com.isoftstone.industry.aaa.core.service.assist.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.isoftstone.industry.persistance.bean.SysMailTemplate;
import com.isoftstone.industry.aaa.core.dao.assist.SysMailTemplateDao;
import com.isoftstone.industry.aaa.core.service.assist.ISysMailTemplateService;
import com.isoftstone.modules.core.persistence.IGenericDao;
import com.isoftstone.modules.core.service.impl.GenericServiceImpl;

/**
 * @author jacky
 */
@Service
public class SysMailTemplateServiceImpl extends GenericServiceImpl<SysMailTemplate, String> implements ISysMailTemplateService
{
	@Resource
	private SysMailTemplateDao	sysMailTemplateDao;

	@Override
	public IGenericDao<SysMailTemplate, String> getDao()
	{
		return sysMailTemplateDao;
	}

	@Override
	public SysMailTemplate findBySn(String sn)
	{
		return sysMailTemplateDao.findBySn(sn);
	}

}
